package com.xbts.system.domain.dto;

import com.xbts.common.enums.EmailTypeEnum;
import lombok.Data;

import java.util.List;

/**
 * @author : llk
 * @Date: 2024/4/23 14:16
 */
@Data
public class EmailSendDTO {

    /**
     * 邮箱接收人
     */
    private String email;
    /**
     * 邮件主题
     */
    private String subject;
    /**
     * 邮件类型
     */
    private EmailTypeEnum typeEnum;
    /**
     * 邮件内容
     */
    private String[] content;

    public EmailSendDTO(String email, String subject, EmailTypeEnum typeEnum, String... content) {
        this.email = email;
        this.subject = subject;
        this.typeEnum = typeEnum;
        this.content = content;
    }
}
